<!DOCTYPE html>
<html lang="en">
<head>
	
	<!-- start: Meta -->
	<meta charset="utf-8">
	<title>Bootstrap Metro Dashboard by Dennis Ji for ARM demo</title>
	<!-- end: Meta -->
	
	<!-- start: Mobile Specific -->
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<!-- end: Mobile Specific -->

	<!-- start: CSS -->
	<link id="bootstrap-style" href="__STATIC__/assets/css/bootstrap.min.css" rel="stylesheet">
	<link href="__STATIC__/assets/css/bootstrap-responsive.min.css" rel="stylesheet">
	<link id="base-style" href="__STATIC__/assets/css/style.css" rel="stylesheet">
	<link id="base-style-responsive" href="__STATIC__/assets/css/style-responsive.css" rel="stylesheet">
	<link href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800&subset=latin,cyrillic-ext,latin-ext' rel='stylesheet' type='text/css'>
	<!-- end: CSS -->
		
	<!-- start: Favicon -->
	<link rel="shortcut icon" href="__STATIC__/assets/img/favicon.ico">
	<!-- end: Favicon -->
	
</head>

<body>
	{include file="public:header"/}
	
		<div class="container-fluid-full">
		<div class="row-fluid">
				
			{include file="public:sidemenu"/}
			
			<!-- 正文导航条 -->
			<div id="content" class="span10">	
				<ul class="breadcrumb">
					<li>
						<i class="icon-home"></i>
						<a href="{:url('user/index')}">Home</a> 
						<i class="icon-angle-right"></i>
					</li>
					<li><a href="#">用户列表</a></li>
				</ul>			
			<!-- 正文 -->
			<!-- 正文 -->
				<div class="row-fluid sortable">
				<div class="box span12">
					<div class="box-header" data-original-title>
						<h2><i class="halflings-icon white user"></i><span class="break"></span>用户列表</h2>
						<div class="box-icon">
							<a href="{:url('formuser/adduser')}"><i class="halflings-icon plus"></i></a>
							<a href="#" class="btn-minimize"><i class="halflings-icon white chevron-up"></i></a>
							<a href="#" class="btn-close"><i class="halflings-icon white remove"></i></a>
						</div>
					</div>
					<div class="box-content">
						<table class="table table-striped table-bordered bootstrap-datatable datatable">
						  <thead>
							  <tr>
								  <th>用户昵称</th>
								  <th>所属城市</th>
								  <th>用户头像</th>
								  <th>用户简介</th>
								  <th>用户邮箱</th>
								  <th>性别</th>
								  <th>注册时间</th>
								  <th>操作</th>
							  </tr>
						  </thead>   
						  <tbody>
						  	{volist name="userlist" id="vo"}
							<tr>
								<td>{$vo.user_name}</td>
								<td class="center">{$vo.city_name}</td>
								<td class="center">
									<img src="__STATIC__/posters/{$vo.user_headimage}" style="width: 90px;height: 90px; border-radius: 45px">
								</td>
								<td class="center">{$vo.user_intro}</td>
								<td class="center">{$vo.user_email}</td>
								{if condition='$vo.user_gender==1'}
								<td class="center"><i class="glyphicons-icon old_man"></i></td>
								{else/}
								<td class="center"><i class="glyphicons-icon woman"></i></td>
								{/if}
								<td class="center">{$vo.user_regtime}</td>
								<td class="center">
									<a class="btn btn-info" href="{:url('formuser/edituser',['userid'=>$vo.user_id])}">
										<i class="halflings-icon white edit"></i>
										修改  
									</a>
									{if condition='$vo.user_isdel==0'}
									<a class="btn btn-danger" href="{:url('formuser/delete',['userid'=>$vo.user_id,'statu'=>1])}">
										<i class="halflings-icon white trash"></i> 
										删除
									</a>
									<a class="btn btn-success" href="{:url('moment/momentmessage',['userid'=>$vo.user_id])}">
										<i class="halflings-icon white trash"></i> 
										查看私信
									</a>
									{else/}
									<a class="btn btn-success" href="{:url('formuser/delete',['userid'=>$vo.user_id,'statu'=>0])}">
										<i class="halflings-icon white trash"></i> 
										恢复
									</a>
									{/if}
								</td>
							</tr>
							{/volist}
						  </tbody>
					  </table>            
					</div>
				</div><!--/span-->
				</div><!--/row-->
			<!-- 正文 -->
			<!-- 正文 -->
			</div>
			<!-- 正文导航条 -->

		</div><!--/#content.span10-->
		</div><!--/fluid-row-->
		
	{include file="public:footer"/}
	
</body>
</html>
